<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!--nav start-->
<div class="page_nav">
<div class="xiaxueqi_logo">
   <a href="${ctx}" title="顺风车---二手车交易平台"><img src="${ctx}/images/logo.gif" /></a>
</div>
<div style="clear:both;"></div>
<div class="searchBar" id="searchBar">
  <ul id="searchTabsBox">
    <li class="current"><a href="${ctx}" id="all">首&nbsp;&nbsp;&nbsp;页</a></li>
    <li><a href="javascript:void(0);" id="book">自&nbsp;行&nbsp;车</a></li>
    <li><a href="javascript:void(0);" id="shop">店&nbsp;&nbsp;&nbsp;铺</a></li>
    <li><a href="javascript:void(0);" id="major">学&nbsp;&nbsp;&nbsp;校</a></li>
  </ul>
</div>
<script language="javascript"> 
$('body').ready(function(){
	$("#searchTabsBox li a").click(function(){
		$("#searchTabsBox .current").attr("className","");
		this.parentNode.className="current";
		$("#searchType").val(this.id);
		//alert($("#searchType").val());
	});
	var scopeValue = "<s:property value='scope' escape='false'></s:property>";
	if(scopeValue!=""){
		var scopeId = "#"+scopeValue;
		$(scopeId).click();
		$("#keyInput").val('<s:property value="key" escape="false"></s:property>');
	}
});
</script>
<div class="searchBox">
  <form method="post" action="${ctx}/portal/search.action" name="SearchForm" id="SearchForm">
  	<input type="hidden" id="searchType" name="scope" value="all"/>
    <input type="text" name="key" value="" id="keyInput" style="width:460px;height:18px;padding-top:3px;"/>
    <input type="submit" value="搜  索" class="searchSubmit"/>
  </form>
  <div class="common_search"> 常用搜索：捷安特&nbsp;&nbsp;&nbsp;杭州电子科技大学 </div>
</div>
</div>
<!--nav bar end-->

